<?php
// @formatter:off
/**
 * @file defines.php
 * @author Alejandro Dario Simi
 * @date $Date: 2013-06-16 19:41:09 +0000 (Sun, 16 Jun 2013) $
 *
 * $Id: defines.php 72 2013-06-16 19:41:09Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/tags/wcomix-1.0.0.2/config/defines.php $
 */

//
// HTTP Errors
// @{
define("WC_PAGEERROR_403",	"403");
define("WC_PAGEERROR_404",	"404");
define("WC_PAGEERROR_500",	"500");
// @}

//
// Actions
// @{
define("WC_ACTION_CANVAS",		"canvas");

define("WC_ACTION_NOTHING",		"nothing");
define("WC_ACTION_LOGO",		"logo");
define("WC_ACTION_COLLECTION_LIST",	"collection.list");
define("WC_ACTION_COLLECTION_SHOW",	"collection.show");
define("WC_ACTION_COMIC_SHOW",		"comic.show");
define("WC_ACTION_TAG_LIST",		"tag.list");
define("WC_ACTION_TAG_SHOW",		"tag.show");
define("WC_ACTION_DIRECTORY_LIST",	"directory.list");
define("WC_ACTION_DIRECTORY_SHOW",	"directory.show");
define("WC_ACTION_SEARCH",		"search");
define("WC_ACTION_VERSION",		"version");
define("WC_ACTION_RULE_LIST",		"rule.list");
define("WC_ACTION_RULE_SHOW",		"rule.show");
define("WC_ACTION_STATS",		"stats.show");
define("WC_ACTION_RANDOM",		"random.show");
define("WC_ACTION_MENU",		"menu");

define("WC_ACTION_USER_LIST",		"user.list");
define("WC_ACTION_USER_VIEW",		"user.view");
define("WC_ACTION_USER_EDIT",		"user.edit");
define("WC_ACTION_USER_RESET",		"user.reset");
define("WC_ACTION_USER_REGISTER",	"user.register");
// @}

//
// Simple Actions
// @{
define("WC_SACTION_LOG_IN",		"log.in");
define("WC_SACTION_GROUP_SWITCH",	"group.switch");

define("WC_SACTION_COMIC_TAGS",		"comic.tags");
define("WC_SACTION_COMIC_RENAME",	"comic.rename");

define("WC_SACTION_COLLECTION_SET",	"collection.set");
define("WC_SACTION_COLLECTION_RENAME",	"collection.rename");

define("WC_SACTION_TAG_RENAME",		"tag.rename");

define("WC_SACTION_RULE_RENAME",	"rule.rename");

define("WC_SACTION_DIRECTORY_RENAME",	"directory.rename");
// @}

//
// Email Actions
// @{
define("WC_EACTION_REGISTER",	"request.register");
define("WC_EACTION_USERNAME",	"request.username");
define("WC_EACTION_PASSWORD",	"request.password");
// @}

//
// Services
// @{
define("WC_SERVICE_COMICS",		"comics");
define("WC_SERVICE_DIRECTORIES",	"directories");
define("WC_SERVICE_TAGS",		"tags");
define("WC_SERVICE_COLLECTIONS",	"collections");
define("WC_SERVICE_RULES",		"rules");
define("WC_SERVICE_LOG_IN",		"log.in");
define("WC_SERVICE_LOG_OUT",		"log.out");
define("WC_SERVICE_SETREADRATE",	"readrate");
define("WC_SERVICE_MOBILE",		"mobile");
define("WC_SERVICE_USERS",		"users");
// @}

//
// RSS
// @{
define("WC_RSS_TAG",	"tag");
// @}

//
// Cookies
// @{
define("WC_COOKIE_KEEPME_USER",	"WC_KEEPME_USER");
define("WC_COOKIE_KEEPME_NAME",	"WC_KEEPME_NAME");
define("WC_COOKIE_KEEPME_HASH",	"WC_KEEPME_HASH");
define("WC_COOKIE_MOBILE_MODE",	"WC_MOBILE_MODE");
// @}

//
// Special Tags
// @{
define("WC_SPECIAL_TAG_TRASH",		"Garbage");
define("WC_SPECIAL_TAG_DUPLICATED",	"Duplicated");
define("WC_SPECIAL_TAG_REORDER",	"Reorder");
define("WC_SPECIAL_TAG_WRONG_TAGS",	"Wrong Tags");
define("WC_SPECIAL_TAG_UNTAGGED",	"Untagged");
define("WC_SPECIAL_TAG_FEW_TAGS",	"Few Tags");
// @}

//
// Permissions
// @{
define("WC_PERM_ACTION_ADD", 		101);
define("WC_PERM_ACTION_EDIT", 		102);
define("WC_PERM_ACTION_REMOVE", 	104);
define("WC_PERM_ACTION_RENAME", 	105);
define("WC_PERM_COLLECTION_ADD", 	801);
define("WC_PERM_COLLECTION_EDIT", 	802);
define("WC_PERM_COLLECTION_LIST", 	803);
define("WC_PERM_COLLECTION_REMOVE",	804);
define("WC_PERM_COLLECTION_RENAME", 	805);
define("WC_PERM_COLLECTION_VIEW", 	810);
define("WC_PERM_COMIC_EDIT", 		202);
define("WC_PERM_COMIC_LIST", 		203);
define("WC_PERM_COMIC_RENAME", 		205);
define("WC_PERM_COMIC_SET_COLLECTION", 	225);
define("WC_PERM_COMIC_SET_RATE", 	206);
define("WC_PERM_COMIC_SET_READ", 	207);
define("WC_PERM_COMIC_SET_TAG", 	208);
define("WC_PERM_COMIC_TRASH", 		209);
define("WC_PERM_COMIC_VIEW", 		210);
define("WC_PERM_DIRECTORY_ADD", 	301);
define("WC_PERM_DIRECTORY_ADMIN", 	314);
define("WC_PERM_DIRECTORY_EDIT", 	302);
define("WC_PERM_DIRECTORY_LIST", 	303);
define("WC_PERM_DIRECTORY_RENAME", 	305);
define("WC_PERM_DIRECTORY_SET_TAG", 	308);
define("WC_PERM_DIRECTORY_VIEW", 	310);
define("WC_PERM_GROUP_EDIT", 		402);
define("WC_PERM_GROUP_RENAME", 		405);
define("WC_PERM_GROUP_SWITCH", 		426);
define("WC_PERM_RULE_ADD", 		501);
define("WC_PERM_RULE_EDIT", 		502);
define("WC_PERM_RULE_LIST", 		503);
define("WC_PERM_RULE_REMOVE", 		504);
define("WC_PERM_RULE_RENAME", 		505);
define("WC_PERM_SPECIAL_CREDIT", 	916);
define("WC_PERM_SPECIAL_LOGO", 		918);
define("WC_PERM_SPECIAL_MENU", 		919);
define("WC_PERM_SPECIAL_NOTHING", 	920);
define("WC_PERM_SPECIAL_RANDOM", 	917);
define("WC_PERM_SPECIAL_SEARCH", 	921);
define("WC_PERM_SPECIAL_STATS", 	922);
define("WC_PERM_SPECIAL_VERSION", 	915);
define("WC_PERM_STATS_VIEW", 		1010);
define("WC_PERM_TAG_ADD", 		601);
define("WC_PERM_TAG_LIST", 		603);
define("WC_PERM_TAG_REMOVE", 		604);
define("WC_PERM_TAG_RENAME", 		605);
define("WC_PERM_TAG_SET_TAG", 		608);
define("WC_PERM_TAG_VIEW", 		610);
define("WC_PERM_USER_ADD", 		701);
define("WC_PERM_USER_ADMIN", 		714);
define("WC_PERM_USER_EDIT", 		702);
define("WC_PERM_USER_LIST", 		703);
define("WC_PERM_USER_LOGIN", 		712);
define("WC_PERM_USER_LOGOUT", 		713);
define("WC_PERM_USER_REGISTER", 	711);
define("WC_PERM_USER_RESET", 		723);
define("WC_PERM_USER_SELF_EDIT", 	724);
// @}

//
// Log Names
// @{
define("WC_LOGNAME_CRON",	"CRON");
define("WC_LOGNAME_TOOL",	"TOOL");
// @}
?>
